(function(){
    /**
     * @class Bible.EventManager
     * @extends Ext.util.Observable
     * @singleton
     */
    var EventManager = Ext.extend(Ext.util.Observable, {
        constructor: function(config){

            this.addEvents(
                /**
                 *@event versechange
                 */
                'versechange',

                /**
                 *@event login
                 */
                'login',

                /**
                 *@event logout
                 */
                'logout'
            );

            // Copy configured listeners into *this* object so that the base class's
            // constructor will add them.
            // this.listeners = config.listeners;

            // Call our superclass constructor to complete construction process.
            EventManager.superclass.constructor.call(this, config)
        }
    });

    Bible.EventManager = new EventManager();
})();